import i18n from '@/assets/lang'

function changeLang(target){
  i18n.locale = target
  localStorage.setItem('lang', target)
}

export default changeLang
